home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGNG_C
/
TURBOCU2.LZH
/
ECLIB.ARC
/
ECON.H
< prev
next >
Wrap
Text File
|
1987-07-14
|
707b
|
16 lines
void ecinit(void);
int ecputs(char * string);
int ecputc(char character);
int ecprintf(char * format, ...);
int ecattr(int attribute);
#define MK_AT(background, foreground) ((char)(((unsigned char)(background) << 4) | (foreground)))
enum cga {BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LT_GRAY, DK_GRAY, LT_BLUE, LT_GREEN, LT_CYAN, LT_RED, LT_MAGENTA, YELLOW, WHITE, BLINK = 8};
int ecseek(int page, long offset, int fromwhere);
long ectell(int page);
#define CS_COL(offset) ((unsigned)(offset))
#define CS_ROW(offset) ((unsigned)((unsigned long)(offset) >> 16))
#define MK_CS(row, col) ((long)(((unsigned long)(row) << 16) | (col)))
#if !defined(__STDIO_DEF_)
#include <stdio.h>
#endif